#ifndef CBOMBA_H
#define CBOMBA_H

#include <vector>

#include "CObjetoAnimado.h"
#include "CArea.h"
#include "CAnimation.h"
#include "CCamera.h"
#include "CFPS.h"
#include "CSurface.h"
#include <string>
//=============================================================================
class CBomba : public CObjetoAnimado {

	public:
		CBomba();
		virtual ~CBomba();

	public:
		//virtual bool OnLoad(char* File, int Width, int Height, int MaxFrames, int Index);

		virtual void OnLoop();
		void Explotar();

	/*	virtual void OnRender(SDL_Surface* Surf_Display);

		virtual void OnCleanup();

		virtual void OnAnimate();

		virtual bool OnCollision(CObjetoAnimado* ObjetoAnimado);

	/*public:
		bool    Collides(int oX, int oY, int oW, int oH);

	protected:
		bool 	PosValid(int NewX, int NewY);

		bool 	PosValidTile(CTile* Tile);

		bool 	PosValidEntity(CEntity* Entity, int NewX, int NewY);*/
        public:
            std::string nombreJugador;
		private:
		long OldTime , OldTimeExplosion;
		bool TieneQueExplotar;
		//bool DesapareceBomba;
};


//=============================================================================

#endif


